<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>    
    <title></title>
  </head>
  
  <body bgcolor="cyan">
  	<p>随机分配了你一个1~100之间的数字，请猜！</p>
  	<%
  		int number=(int)(Math.random()*100)+1;
  		session.setAttribute("count", 0);
  		session.setAttribute("save", number);
  	 %>
  	 
  	<form action="result.jsp" method="post">
  		<p>请输入您的猜测：<input type="text" name="guess" size="8">
  						 <input type="submit" name="submit" value="提交">
  		</p>
  	</form>
  </body>
</html>
